package com.yeshine.opendata.entity;

import com.yeshine.opendata.core.EntityBase;

import java.util.Date;

import org.springframework.web.multipart.MultipartFile;

/**
 * Created by taohj on 2014/8/12.
 */
public class Favorites extends EntityBase {

    private Integer id;

    private String name;

    private String description;

    private User creater;

    private Date createTime;

    private SysDictionary type;
    
    
    private String headImage;
    
    private MultipartFile headImageFile;

    public Favorites() {
    }

    public Favorites(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public User getCreater() {
        return creater;
    }

    public void setCreater(User creater) {
        this.creater = creater;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public SysDictionary getType() {
        return type;
    }

    public void setType(SysDictionary type) {
        this.type = type;
    }

	public String getHeadImage() {
		return headImage;
	}

	public void setHeadImage(String headImage) {
		this.headImage = headImage;
	}

	public MultipartFile getHeadImageFile() {
		return headImageFile;
	}

	public void setHeadImageFile(MultipartFile headImageFile) {
		this.headImageFile = headImageFile;
	}

	
}
